package com.qf.dao;



import com.qf.model.UserCard;

import java.math.BigDecimal;

public interface TransferDao {
    //提现功能
    int withdrawal(String cardNumber, BigDecimal amount);

    //充值功能
    int recharge(String cardNumber, BigDecimal amount);
//????????????????????????????????????????????????????????????????????????
    void inMoney(String toAccountId, BigDecimal amount);
    void outMoney(String fromAccountId, BigDecimal amount);




    //根据卡号查卡信息
    UserCard getAccount(String cid);


}




